package com.ccubee.data.transfer.transfer.type.impl;

import com.ccubee.data.transfer.event.ColumnData;
import com.ccubee.data.transfer.transfer.type.IType;
import com.ccubee.data.transfer.types.ColumnType;
import org.springframework.stereotype.Component;

import java.sql.ResultSet;

/**
 * 天
 *
 * @Author ycf
 * @Date 2022/11/16 21:38
 * @Version 1.0
 */
@Component
public class TypeDay implements IType {
    @Override
    public ColumnType type() {
        return ColumnType.DAY;
    }

    @Override
    public Object apply(ColumnData columnData, ResultSet resultSet) {
//        return TimeUtil.date2string(TimeUtil.parseLocalDateTime(value(columnData.getColumValueName(), resultSet)).toLocalDate());

        return null;
    }
}
